<template>
	<view>
		<view class="listen_item" v-for="(item,index) in listenList" :key="index" @click="chooseCurrentMusicItem(index)">
			<view class="listen_item_title">这个是标题</view>
			<uni-icons class="listen_item_image" type="checkmarkempty" size="30" color="#FFFFFF"></uni-icons>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				listenList: [],
			};
		},
		onLoad() {
			this.listenList = [
				{
					
				},
				{
					
				},
				{
					
				}
			]
		},
		methods:{
			/* 当前选中的铃声 */
			chooseCurrentMusicItem(index) {
				console.log(index);
			}
		}
	}
</script>

<style lang="scss">
	/* 下面的列表 */
	.listen_item {
		background-color: #333333;
		margin: 30rpx;
		border-radius: 10rpx;
		display: flex;
		height: 120rpx;
		align-items: center;
		justify-content: space-between;
	}
	
	.listen_item_title {
		color: #FFFFFF;
		margin-left: 30rpx;
	}
	
	.listen_item_image {
		width: 50rpx;
		height: 50rpx;
		margin-right: 20rpx;
	}

</style>
